package com.example.resturant.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class OrderVO {

    private Integer id;
    private Integer userId;
    private Double price;
    private List<MenuVO> menus;
    private String getType;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date getTime;
    private String comment;
    private String name;
    private AddressVO address;
    private Boolean longTerm;
    private String mobile;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createAt;
}
